<div class="detailsBox" id="archiveBorrowRecordDiv">
  <@include file="/archive/v1/borrowMode2"/>
  
  <#if nodeCode?? && nodeCode=='JY_DAJC'>
  <div class=" mtb20 tac">
  	<span id="archiveErrorMsg" style="disploy:none;" class="red"></span></br>
	<a id="saveSendBorrowBtn" href="javascript:void(0);" class="btn_auto_30 btn_blue">保 存</a>
  </div>
  </#if>
<@js>
	$('#archiveBorrowRecordDiv select').attr('disabled','disabled');
	$('#archiveBorrowRecordDiv #archiveNoInpu').attr('disabled','disabled');
	if(!$("#saveSendBorrowBtn").length){
		$('#sendForm input').attr('disabled','disabled');
	}
	$("#saveSendBorrowBtn").click(function(){
		if(!$('#sendForm .jqUploadFile').length){
			$('#archiveErrorMsg').text('快递寄送凭证不能为空！').show();
			return;
		}
		if(!$('#send_company').val()){
			$('#archiveErrorMsg').text('快递公司不能为空！').show();
			return;
		}
		if(!$('#send_no').val()){
			$('#archiveErrorMsg').text('快递单号不能为空！').show();
			return;
		}
		if(!$('#send_time').val()){
			$('#archiveErrorMsg').text('寄出时间不能为空！').show();
			return;
		}
		$('#archiveErrorMsg').text('').hide();
		$('#sendForm').submit();
    });
</@js>
<@jsRender/>







